#include "Receiver.h"
#include <QDebug>

#include "UI/ModRun/Output/FactoryOutput.h"

Receiver::Receiver()
{
    
}

Receiver::~Receiver()
{

}

//执行;
void Receiver::Action()
{
    QString strOutput = "Receiver::Action:执行命令";
    qDebug() << strOutput;
    std::shared_ptr<IOutput> pOutPut = FactoryOutput::GetInstance()->CreateRunOutput();
    if (pOutPut)
    {
        std::initializer_list<QString> outList{ strOutput };
        pOutPut->OutPut(outList);
    }
}
